<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/GCodeWriter.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">GCodeWriter.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_g_code_writer_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef slic3r_GCodeWriter_hpp_</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define slic3r_GCodeWriter_hpp_</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="libslic3r_8h.html">libslic3r.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_extruder_8hpp.html">Extruder.hpp</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_point_8hpp.html">Point.hpp</a>&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_print_config_8hpp.html">PrintConfig.hpp</a>&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_slic3r.html">Slic3r</a> {</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_g_code_writer.html">   12</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_slic3r_1_1_g_code_writer.html">GCodeWriter</a> {</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_g_code_writer.html#a489f0a47c20b7b8f40fded7fec0e53ac">   14</a></span>&#160;    <a class="code" href="class_slic3r_1_1_g_code_config.html">GCodeConfig</a> <a class="code" href="class_slic3r_1_1_g_code_writer.html#a489f0a47c20b7b8f40fded7fec0e53ac">config</a>;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_g_code_writer.html#a6209c229133bd6163b4e937fc0c6e0c2">   15</a></span>&#160;    std::map&lt;unsigned int,Extruder&gt; <a class="code" href="class_slic3r_1_1_g_code_writer.html#a6209c229133bd6163b4e937fc0c6e0c2">extruders</a>;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_g_code_writer.html#ae071802e9fb76729dee5727e53e27e9d">   16</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_g_code_writer.html#ae071802e9fb76729dee5727e53e27e9d">multiple_extruders</a>;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_g_code_writer.html#aff7ac3fd8eedb51cf3a2db9b06bd513e">   18</a></span>&#160;    <a class="code" href="class_slic3r_1_1_g_code_writer.html#aff7ac3fd8eedb51cf3a2db9b06bd513e">GCodeWriter</a>()</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        : multiple_extruders(false), _extrusion_axis(<span class="stringliteral">&quot;E&quot;</span>), _extruder(NULL),</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;            _last_acceleration(0), _last_fan_speed(0), _lifted(0)</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        {};</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_g_code_writer.html#acd0afc8b4b81cad69d4156c5045e4cef">   22</a></span>&#160;    <a class="code" href="class_slic3r_1_1_extruder.html">Extruder</a>* <a class="code" href="class_slic3r_1_1_g_code_writer.html#acd0afc8b4b81cad69d4156c5045e4cef">extruder</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;_extruder; }</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_g_code_writer.html#ac6736544bfd0b6fde6be4d221f752562">   23</a></span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#ac6736544bfd0b6fde6be4d221f752562">extrusion_axis</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;_extrusion_axis; }</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_g_code_writer.html#a0d9068f6a16f55b700fb8efb28aa141c">apply_print_config</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_print_config.html">PrintConfig</a> &amp;print_config);</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_g_code_writer.html#a22cb29d635d972036f48e2b96496432c">set_extruders</a>(<span class="keyword">const</span> std::vector&lt;unsigned int&gt; &amp;extruder_ids);</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a84aba7a50d947edb6ee9be6df11f4fb9">notes</a>();</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a48eee9aa8426351149b13b8398365887">preamble</a>();</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a2fc5f3b7c8d223df2e2b765ee439bfcc">postamble</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a216ebb59191fee7974e2f92c810ab34a">set_temperature</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> temperature, <span class="keywordtype">bool</span> wait = <span class="keyword">false</span>, <span class="keywordtype">int</span> tool = -1) <span class="keyword">const</span>;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a8bd9b51c0ed3ce144ecc76fcac25f423">set_bed_temperature</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> temperature, <span class="keywordtype">bool</span> wait = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a11a3da6f9a2e3d05a114d8828da1332e">set_fan</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> speed, <span class="keywordtype">bool</span> dont_save = <span class="keyword">false</span>);</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a32de57050284efca595c97b3c45c440c">set_acceleration</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> acceleration);</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#ac98fe6c3bb46ab111e09c866c5f85340">reset_e</a>(<span class="keywordtype">bool</span> force = <span class="keyword">false</span>);</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#acdb4af43a7de1eb5306916d49ece48a6">update_progress</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> num, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> tot, <span class="keywordtype">bool</span> allow_100 = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_g_code_writer.html#afbe9a8dd86d4f6902fc6ee21dc66488c">need_toolchange</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> extruder_id) <span class="keyword">const</span>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#aaef67373d031af2fe242d83be91a58c8">set_extruder</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> extruder_id);</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a757a9cef6954dfa4e625986e63b757a0">toolchange</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> extruder_id);</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a01196561de349d6ff9c0004fccba59b5">set_speed</a>(<span class="keywordtype">double</span> F, <span class="keyword">const</span> std::string &amp;comment = std::string(), <span class="keyword">const</span> std::string &amp;cooling_marker = std::string()) <span class="keyword">const</span>;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#ac9f961d9aa20c430bdde69477590d83d">travel_to_xy</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;point, <span class="keyword">const</span> std::string &amp;comment = std::string());</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#af73130cdd9742f5a3be23535d3c3edb2">travel_to_xyz</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &amp;point, <span class="keyword">const</span> std::string &amp;comment = std::string());</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#ad0008f46affc37f57e6bcb84404aeac7">travel_to_z</a>(<span class="keywordtype">double</span> z, <span class="keyword">const</span> std::string &amp;comment = std::string());</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_g_code_writer.html#a3de2d3b2dd0b6c75aff17f81558f844a">will_move_z</a>(<span class="keywordtype">double</span> z) <span class="keyword">const</span>;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a0e9e327ea2e54d2a0143a23692d9b350">extrude_to_xy</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;point, <span class="keywordtype">double</span> dE, <span class="keyword">const</span> std::string &amp;comment = std::string());</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a96fcdbceb2e603c961b2cc3996f74bf2">extrude_to_xyz</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &amp;point, <span class="keywordtype">double</span> dE, <span class="keyword">const</span> std::string &amp;comment = std::string());</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a8d9ba005c858b7d307c39c497561baa1">retract</a>();</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#afab74b2afb24f54bff5da857606ddda2">retract_for_toolchange</a>();</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a905e4b6cac518c660d67243d24a91a17">unretract</a>();</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a8130197338e387242407d919f994c4ac">lift</a>();</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    std::string <a class="code" href="class_slic3r_1_1_g_code_writer.html#a72c75bc8726961f48c191034585fbb85">unlift</a>();</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_g_code_writer.html#a55464af90f7b55de998eeb6aede9e4f2">   53</a></span>&#160;    <a class="code" href="class_slic3r_1_1_pointf3.html">Pointf3</a> <a class="code" href="class_slic3r_1_1_g_code_writer.html#a55464af90f7b55de998eeb6aede9e4f2">get_position</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;_pos; }</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    std::string _extrusion_axis;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <a class="code" href="class_slic3r_1_1_extruder.html">Extruder</a>* _extruder;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _last_acceleration;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _last_fan_speed;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">double</span> _lifted;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="class_slic3r_1_1_pointf3.html">Pointf3</a> _pos;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    </div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    std::string _travel_to_z(<span class="keywordtype">double</span> z, <span class="keyword">const</span> std::string &amp;comment);</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    std::string _retract(<span class="keywordtype">double</span> length, <span class="keywordtype">double</span> restart_extra, <span class="keyword">const</span> std::string &amp;comment, <span class="keywordtype">bool</span> long_retract = <span class="keyword">false</span>);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;};</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;} <span class="comment">/* namespace Slic3r */</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* slic3r_GCodeWriter_hpp_ */</span><span class="preprocessor"></span></div><div class="ttc" id="class_slic3r_1_1_g_code_writer_html"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html">Slic3r::GCodeWriter</a></div><div class="ttdef"><b>Definition:</b> GCodeWriter.hpp:12</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_config_html"><div class="ttname"><a href="class_slic3r_1_1_g_code_config.html">Slic3r::GCodeConfig</a></div><div class="ttdef"><b>Definition:</b> PrintConfig.hpp:315</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_af73130cdd9742f5a3be23535d3c3edb2"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#af73130cdd9742f5a3be23535d3c3edb2">Slic3r::GCodeWriter::travel_to_xyz</a></div><div class="ttdeci">std::string travel_to_xyz(const Pointf3 &amp;point, const std::string &amp;comment=std::string())</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:344</div></div>
<div class="ttc" id="libslic3r_8h_html"><div class="ttname"><a href="libslic3r_8h.html">libslic3r.h</a></div></div>
<div class="ttc" id="_print_config_8hpp_html"><div class="ttname"><a href="_print_config_8hpp.html">PrintConfig.hpp</a></div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_ad0008f46affc37f57e6bcb84404aeac7"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#ad0008f46affc37f57e6bcb84404aeac7">Slic3r::GCodeWriter::travel_to_z</a></div><div class="ttdeci">std::string travel_to_z(double z, const std::string &amp;comment=std::string())</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:372</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a72c75bc8726961f48c191034585fbb85"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a72c75bc8726961f48c191034585fbb85">Slic3r::GCodeWriter::unlift</a></div><div class="ttdeci">std::string unlift()</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:571</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a216ebb59191fee7974e2f92c810ab34a"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a216ebb59191fee7974e2f92c810ab34a">Slic3r::GCodeWriter::set_temperature</a></div><div class="ttdeci">std::string set_temperature(unsigned int temperature, bool wait=false, int tool=-1) const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:108</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_ac9f961d9aa20c430bdde69477590d83d"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#ac9f961d9aa20c430bdde69477590d83d">Slic3r::GCodeWriter::travel_to_xy</a></div><div class="ttdeci">std::string travel_to_xy(const Pointf &amp;point, const std::string &amp;comment=std::string())</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:329</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_acdb4af43a7de1eb5306916d49ece48a6"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#acdb4af43a7de1eb5306916d49ece48a6">Slic3r::GCodeWriter::update_progress</a></div><div class="ttdeci">std::string update_progress(unsigned int num, unsigned int tot, bool allow_100=false) const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:261</div></div>
<div class="ttc" id="class_slic3r_1_1_print_config_html"><div class="ttname"><a href="class_slic3r_1_1_print_config.html">Slic3r::PrintConfig</a></div><div class="ttdef"><b>Definition:</b> PrintConfig.hpp:410</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a8130197338e387242407d919f994c4ac"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a8130197338e387242407d919f994c4ac">Slic3r::GCodeWriter::lift</a></div><div class="ttdeci">std::string lift()</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:548</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_aff7ac3fd8eedb51cf3a2db9b06bd513e"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#aff7ac3fd8eedb51cf3a2db9b06bd513e">Slic3r::GCodeWriter::GCodeWriter</a></div><div class="ttdeci">GCodeWriter()</div><div class="ttdef"><b>Definition:</b> GCodeWriter.hpp:18</div></div>
<div class="ttc" id="_point_8hpp_html"><div class="ttname"><a href="_point_8hpp.html">Point.hpp</a></div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a6209c229133bd6163b4e937fc0c6e0c2"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a6209c229133bd6163b4e937fc0c6e0c2">Slic3r::GCodeWriter::extruders</a></div><div class="ttdeci">std::map&lt; unsigned int, Extruder &gt; extruders</div><div class="ttdef"><b>Definition:</b> GCodeWriter.hpp:15</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_ac6736544bfd0b6fde6be4d221f752562"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#ac6736544bfd0b6fde6be4d221f752562">Slic3r::GCodeWriter::extrusion_axis</a></div><div class="ttdeci">std::string extrusion_axis() const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.hpp:23</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_acd0afc8b4b81cad69d4156c5045e4cef"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#acd0afc8b4b81cad69d4156c5045e4cef">Slic3r::GCodeWriter::extruder</a></div><div class="ttdeci">Extruder * extruder() const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.hpp:22</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a01196561de349d6ff9c0004fccba59b5"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a01196561de349d6ff9c0004fccba59b5">Slic3r::GCodeWriter::set_speed</a></div><div class="ttdeci">std::string set_speed(double F, const std::string &amp;comment=std::string(), const std::string &amp;cooling_marker=std::string()) const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:317</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a96fcdbceb2e603c961b2cc3996f74bf2"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a96fcdbceb2e603c961b2cc3996f74bf2">Slic3r::GCodeWriter::extrude_to_xyz</a></div><div class="ttdeci">std::string extrude_to_xyz(const Pointf3 &amp;point, double dE, const std::string &amp;comment=std::string())</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:432</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a905e4b6cac518c660d67243d24a91a17"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a905e4b6cac518c660d67243d24a91a17">Slic3r::GCodeWriter::unretract</a></div><div class="ttdeci">std::string unretract()</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:515</div></div>
<div class="ttc" id="_extruder_8hpp_html"><div class="ttname"><a href="_extruder_8hpp.html">Extruder.hpp</a></div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a48eee9aa8426351149b13b8398365887"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a48eee9aa8426351149b13b8398365887">Slic3r::GCodeWriter::preamble</a></div><div class="ttdeci">std::string preamble()</div><div class="ttdoc">Actually write the preamble information. </div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:77</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a757a9cef6954dfa4e625986e63b757a0"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a757a9cef6954dfa4e625986e63b757a0">Slic3r::GCodeWriter::toolchange</a></div><div class="ttdeci">std::string toolchange(unsigned int extruder_id)</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:291</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_afab74b2afb24f54bff5da857606ddda2"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#afab74b2afb24f54bff5da857606ddda2">Slic3r::GCodeWriter::retract_for_toolchange</a></div><div class="ttdeci">std::string retract_for_toolchange()</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:459</div></div>
<div class="ttc" id="class_slic3r_1_1_extruder_html"><div class="ttname"><a href="class_slic3r_1_1_extruder.html">Slic3r::Extruder</a></div><div class="ttdef"><b>Definition:</b> Extruder.hpp:10</div></div>
<div class="ttc" id="namespace_slic3r_html"><div class="ttname"><a href="namespace_slic3r.html">Slic3r</a></div><div class="ttdef"><b>Definition:</b> BoundingBox.cpp:4</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a22cb29d635d972036f48e2b96496432c"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a22cb29d635d972036f48e2b96496432c">Slic3r::GCodeWriter::set_extruders</a></div><div class="ttdeci">void set_extruders(const std::vector&lt; unsigned int &gt; &amp;extruder_ids)</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:25</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a55464af90f7b55de998eeb6aede9e4f2"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a55464af90f7b55de998eeb6aede9e4f2">Slic3r::GCodeWriter::get_position</a></div><div class="ttdeci">Pointf3 get_position() const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.hpp:53</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a84aba7a50d947edb6ee9be6df11f4fb9"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a84aba7a50d947edb6ee9be6df11f4fb9">Slic3r::GCodeWriter::notes</a></div><div class="ttdeci">std::string notes()</div><div class="ttdoc">Write any notes provided by the user as comments in the gcode header. </div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:37</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_aaef67373d031af2fe242d83be91a58c8"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#aaef67373d031af2fe242d83be91a58c8">Slic3r::GCodeWriter::set_extruder</a></div><div class="ttdeci">std::string set_extruder(unsigned int extruder_id)</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:284</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a11a3da6f9a2e3d05a114d8828da1332e"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a11a3da6f9a2e3d05a114d8828da1332e">Slic3r::GCodeWriter::set_fan</a></div><div class="ttdeci">std::string set_fan(unsigned int speed, bool dont_save=false)</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:174</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a8bd9b51c0ed3ce144ecc76fcac25f423"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a8bd9b51c0ed3ce144ecc76fcac25f423">Slic3r::GCodeWriter::set_bed_temperature</a></div><div class="ttdeci">std::string set_bed_temperature(unsigned int temperature, bool wait=false) const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:143</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a489f0a47c20b7b8f40fded7fec0e53ac"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a489f0a47c20b7b8f40fded7fec0e53ac">Slic3r::GCodeWriter::config</a></div><div class="ttdeci">GCodeConfig config</div><div class="ttdef"><b>Definition:</b> GCodeWriter.hpp:14</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a2fc5f3b7c8d223df2e2b765ee439bfcc"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a2fc5f3b7c8d223df2e2b765ee439bfcc">Slic3r::GCodeWriter::postamble</a></div><div class="ttdeci">std::string postamble() const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:99</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a3de2d3b2dd0b6c75aff17f81558f844a"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a3de2d3b2dd0b6c75aff17f81558f844a">Slic3r::GCodeWriter::will_move_z</a></div><div class="ttdeci">bool will_move_z(double z) const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:403</div></div>
<div class="ttc" id="class_slic3r_1_1_pointf_html"><div class="ttname"><a href="class_slic3r_1_1_pointf.html">Slic3r::Pointf</a></div><div class="ttdef"><b>Definition:</b> Point.hpp:104</div></div>
<div class="ttc" id="class_slic3r_1_1_pointf3_html"><div class="ttname"><a href="class_slic3r_1_1_pointf3.html">Slic3r::Pointf3</a></div><div class="ttdef"><b>Definition:</b> Point.hpp:129</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a8d9ba005c858b7d307c39c497561baa1"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a8d9ba005c858b7d307c39c497561baa1">Slic3r::GCodeWriter::retract</a></div><div class="ttdeci">std::string retract()</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:449</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_ae071802e9fb76729dee5727e53e27e9d"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#ae071802e9fb76729dee5727e53e27e9d">Slic3r::GCodeWriter::multiple_extruders</a></div><div class="ttdeci">bool multiple_extruders</div><div class="ttdef"><b>Definition:</b> GCodeWriter.hpp:16</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_afbe9a8dd86d4f6902fc6ee21dc66488c"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#afbe9a8dd86d4f6902fc6ee21dc66488c">Slic3r::GCodeWriter::need_toolchange</a></div><div class="ttdeci">bool need_toolchange(unsigned int extruder_id) const</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:277</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a0e9e327ea2e54d2a0143a23692d9b350"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a0e9e327ea2e54d2a0143a23692d9b350">Slic3r::GCodeWriter::extrude_to_xy</a></div><div class="ttdeci">std::string extrude_to_xy(const Pointf &amp;point, double dE, const std::string &amp;comment=std::string())</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:416</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a32de57050284efca595c97b3c45c440c"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a32de57050284efca595c97b3c45c440c">Slic3r::GCodeWriter::set_acceleration</a></div><div class="ttdeci">std::string set_acceleration(unsigned int acceleration)</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:210</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_ac98fe6c3bb46ab111e09c866c5f85340"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#ac98fe6c3bb46ab111e09c866c5f85340">Slic3r::GCodeWriter::reset_e</a></div><div class="ttdeci">std::string reset_e(bool force=false)</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:237</div></div>
<div class="ttc" id="class_slic3r_1_1_g_code_writer_html_a0d9068f6a16f55b700fb8efb28aa141c"><div class="ttname"><a href="class_slic3r_1_1_g_code_writer.html#a0d9068f6a16f55b700fb8efb28aa141c">Slic3r::GCodeWriter::apply_print_config</a></div><div class="ttdeci">void apply_print_config(const PrintConfig &amp;print_config)</div><div class="ttdef"><b>Definition:</b> GCodeWriter.cpp:18</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
